package mapper.sys;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import com.common.BaseMapper;

import beans.sys.SYSCodeBean;

public interface SYSCodeMapper<T> extends BaseMapper<T> {
	
	public SYSCodeBean queryById(@Param("id")String id);
	
	public void update(@Param("m")SYSCodeBean m);

	public SYSCodeBean getByCode(@Param("code")String code);

	public List<Map> getListByCode(@Param("code")String code);

	public List<SYSCodeBean> getCodePacts(@Param("array")String[] pasts, @Param("code")String code);
}
